home *** CD-ROM | disk | FTP | other *** search
- #ifndef __TFORM_H
- // Avoid include redundancy
- #define __TFORM_H
-
- // Copyright (c) 1994, University of Kansas, All Rights Reserved
- //
- // Include File: tform.h
- // Purpose: Provide an object with the required HTML+ form
- // functionality.
- // Remarks/Portability/Dependencies/Restrictions:
- // ENCTYPE not currently supported.
- // It would be wise to consider a form a container for all of
- // it's possible fields and the actions it should take.
- // Revision History:
- // 04-25-94 created
-
- // Constant defines
-
- // Required includes
-
- // Class declarations
- class TForm {
- public:
- enum methods {
- post, // post the data to the server after connect.
- get // send the information in the form of a URL.
- };
- private:
- char *cp_ActionServer;
- methods m_SendAs;
- public:
- TForm(const char *cp_action, const char *cp_method);
- ~TForm();
- };
-
- // Global variable declarations
-
- // Macros
-
- #endif // __TFORM_H
-